package zsw.enums;

public class TestEnum2 {
	public static void main(String[] args) {
	EnumInterface  d=EnumInterface.BLACK;
	 System.out.println( getTest(d));
		
	}
	
	private static Integer getTest(Color f) {
	    System.out.println(f.getColor());
		return f.getNum();
	}

}
